package com.server.api.entity;

import com.server.api.common.BaseEntity;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* @Description: ${tableComment} 实体类
* @Author: wuming
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ${className} extends BaseEntity {

<#if showColList??>
    <#--循环生成变量-->
    <#list showColList as col>
        <#if col["propertyName"] != "id">
    /**
    * ${col["propertyChinaName"]}
    */
    <#if col["propertyType"]=="Date">
    @JsonFormat(pattern = "yyyy-MM-dd")
    </#if>
    private ${col["propertyType"]} ${col["propertyName"]};

</#if>
    </#list>
</#if>

}
